Add: - A ::retrieve_surrounding signal that asks the widget for context
authorOwen Taylor <otaylor@redhat.com>
Thu, 1 Nov 2001 21:50:58 +0000 (21:50 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Thu, 1 Nov 2001 21:50:58 +0000 (21:50 +0000)
commita1fe2ac180bf3c16dd58145e356767fc097c6b70
tree9b501544246cd9c8f780550291b5f32080843500
parent2704ea2b581c4d601c43e9843fca9afe271fc3a7
Add: - A ::retrieve_surrounding signal that asks the widget for context

Thu Nov  1 16:20:56 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkimcontext.[ch]: Add:
  - A ::retrieve_surrounding signal that asks the widget for
    context around the insertion point.
  - A ::delete_surrounding signal that asks the widget to
    delete context aroudn the insertion point.
  - gtk_im_context_set_context() for widgets to set context
    around the insertion point in response to ::retrieve_context.
  - gtk_im_context_get_context() for context to get context
    around the insertion point

* gtkmarshal.list: Add BOOL:INT,INT

* gtk/gtkimmulticontext.c: Proxy the get_surrounding() /
set_surrounding() methods, and the ::retrieve_surrounding /
::delete_surrounding signals.

* gtk/gtkentry.c gtk/gtktreeview.c: Hook up to the
GtkIMContext::retrieve_surrounding / ::delete_surrounding
signals.
14 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkentry.c
gtk/gtkimcontext.c
gtk/gtkimcontext.h
gtk/gtkimmulticontext.c
gtk/gtkmarshal.list
gtk/gtkmarshalers.list
gtk/gtktextview.c